package com.app.newiptv.bean.details;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Shinelon on 2017/9/16.
 */

public class PlayDetailsBean implements Serializable {
    private int id;
    private String name;
    private String type;
    private String url;
    private String publish_at;
    private String director;
    private String info;
    private String staring;
    private int total_episode;
    private int sort;
    private String image;
    private String copyright;
    private List<Episodes> episodes;

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPublish_at() {
        return publish_at;
    }

    public void setPublish_at(String publish_at) {
        this.publish_at = publish_at;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getStaring() {
        return staring;
    }

    public void setStaring(String staring) {
        this.staring = staring;
    }

    public int getTotal_episode() {
        return total_episode;
    }

    public void setTotal_episode(int total_episode) {
        this.total_episode = total_episode;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getCopyright() {
        return copyright;
    }

    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }

    public List<Episodes> getEpisodes() {
        return episodes;
    }

    public void setEpisodes(List<Episodes> episodes) {
        this.episodes = episodes;
    }

    @Override
    public String toString() {
        return "PlayDetailsBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", url='" + url + '\'' +
                ", publish_at='" + publish_at + '\'' +
                ", director='" + director + '\'' +
                ", info='" + info + '\'' +
                ", staring='" + staring + '\'' +
                ", total_episode=" + total_episode +
                ", sort=" + sort +
                ", image='" + image + '\'' +
                ", copyright='" + copyright + '\'' +
                ", episodes=" + episodes +
                '}';
    }

    public class Episodes implements Serializable{
        private int id;
        private String name;
        private String length;
        private String url;
        private String info;

        @Override
        public String toString() {
            return "Episodes{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", length='" + length + '\'' +
                    ", url='" + url + '\'' +
                    ", info='" + info + '\'' +
                    '}';
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLength() {
            return length;
        }

        public void setLength(String length) {
            this.length = length;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }
    }
}
